package com.qfedu.controller;

import com.qfedu.entity.SongList;

import com.qfedu.service.intf.SongListService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;

@Controller
public class SongListController {


    @Autowired
    private SongListService songListService;




    @RequestMapping("/songList")
    @ResponseBody
    public List<SongList> findAllSongList() {
        return songListService.findAllSongList();
    }


}
